<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('就诊说明')" />
</head>
<body>
<div class="main-content">
    <form id="form-illness" class="form-horizontal">
        <div class="row">
            <label class="col-sm-3 control-label">就诊说明：</label>
            <div class="col-sm-9">
                <input id="id" name="id" type="hidden" th:value="${id}"/>
                <textarea type="text" th:text="${illness}" name="illness" rows="10" class="form-control" required placeholder="请输入文本"></textarea>
            </div>
        </div>
    </form>
</div>
<th:block th:include="include :: footer" />
<script type="text/javascript">
    var prefix = ctx + "hospital/treatment"
    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(prefix + "/illness", $('#form-illness').serialize());
        }
    }
</script>
</body>
</html>
